home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98b.txt
/
000039_icon-group-sender _Tue May 26 12:40:28 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA27049
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 26 May 1998 12:40:15 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA31487; Tue, 26 May 1998 12:40:09 -0700
Message-Id: <199805231036.MAA17216@capway.com>
From: "Vladimir Grodzenski" <grodzens@capway.com>
To: jeffery@cs.utsa.edu
Date: Sat, 23 May 1998 12:33:14 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Subject: Re: Annoying things
Reply-To: <vladimir.grodzenski@capway.com>
Cc: icon-group@optima.CS.Arizona.EDU
Priority: urgent
In-Reply-To: <199805181825.NAA29555@segfault.cs.utsa.edu>
References: <199805161337.PAA01330@capway.com> (grodzens@capway.com)
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 1008
On 18 May 98 at 13:25, you wrote:
> Under Windows Icon, open(dirname) should return a file value that
> produces the filenames in the directory, one per line. With the
> present #ifdef's, this may only be enabled for the wicont program,
> not with nticont, but it should be easy to enable it for both.
Thanks for the suggestion, it works! You should however mention
it in the Icon reference otherwise we can only guess... Are there
some other "undocumented" features like with Microsoft? :-)
After opening the directory we get a list of both files and
[sub]directories so the only way I found to distinguish them is
check the failure with chdir(name) which is rather unusual...
Of course, we have to exclude the "." and ".." directories from the
list. Anyway, it works and even allows to easily recurse directories.
Vladimir Grodzenski
=================================================
E-mail: vladimir.grodzenski@capway.com
CompuServe: 100700,526
=================================================